<script setup>
import axios from 'axios';


function baidu(){
  window.location.href = "html/baidu.html"
  // axios({
  //   url:"http://192.168.210.217:8080/test",
  //   params: {
  //     "name": '䣘'
  //   }
  // })
  // .then(response => response.data)
  // .then(data => {
  //   console.log(data);
  // })
}


</script>

<template>
  <div class="center">

    <div class="interval">
      <span>
        账号:
      </span>
      <span>
        <input type="text" name="account" placeholder="请输入账号">
      </span>
    </div>

    <div>
      <span>
        密码:
      </span>
      <span>
        <input type="password" name="password" placeholder="请输入密码">
      </span>
    </div>

      <div class="center">
        <button class="sureButton" @click="baidu">
          登录
        </button>
      </div>

  </div>
</template>

<style>
.center{
  text-align: center;
}
.interval{
  margin-bottom: 20px;
}
</style>